using System.Collections.Generic;

namespace IQIGame.Onigao.GamePlay
{
    public class DynParamProcessArea : DynParamProcessBase
    {
        public DynParamProcessArea(LevelPlayRegionController regionCtrl) : base(regionCtrl)
        {
        }

        public override EntityDynamicParamType paramType => EntityDynamicParamType.Area;

        public override bool isContainTriggerRect => true;

        public override void OnListParamEffectiveChanged(EntityDynamicParamType paramType, IReadOnlyList<BaseEntityDynamicParam> paramValueList, IReadOnlyList<LevelPlayBaseEntity> entityList)
        {
            this.regionCtrl.areaEffectCtrl.AreaListParamChanged(paramValueList, entityList);
        }
    }
}
